import { post, put, get } from '@/utils/httpUtils/httpRequest'
 
export const userGroupColumns = [
    {
        title: "名称",
        dataIndex: "name",
    },
    {
        title: "描述",
        dataIndex: "descption",
    },
    {
        align: 'center',
        title: "创建时间",
        dataIndex: "createTime",
        sorter: true,
    },
    {
        align: 'center',
        title: "操作",
        dataIndex: "action",
        scopedSlots: { customRender: "action" },
    },
];
export const addUserGroup = (parameter) => post('api/sysUserGroup/add', parameter)
export const deleteUserGroup = (parameter) => post('api/sysUserGroup/delete', parameter)
export const updateUserGroup = (parameter) => put('api/sysUserGroup/update', parameter) 
export const getUserGroup = (parameter) => get('api/sysUserGroup/get', parameter)   
export const getUserGroupList = (parameter) => get('api/sysUserGroup/getList', parameter)   
export const queryUserGroupPage = (parameter) => get('api/sysUserGroup/queryPage', parameter)



